I was learning Objective-C and trying to create apps, but
some times I am getting exceptions in my code.
Can anyone tell me the best way to handle exceptions in iOS.
home / developersection / forums / throwing an exception in objective-c
I was learning Objective-C and trying to create apps, but
some times I am getting exceptions in my code.
Can anyone tell me the best way to handle exceptions in iOS.
Tarun Kumar
23-Oct-2015I will prefer NSException class to handle exceptions in our program,
I use [NSException raise:format:] as follows: